<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/jquery-3.6.1.js"></script>
	</head>
	<body>
		<p>姓名:<input type="text" name="uname" /></p>
		<p>密码:<input type="password" name="upwd" /></p>
		<p>性别:<input type="radio" name="sex" />男<input type="radio" name="sex" />女</p>
		<p>爱好:<input type="checkbox" name="hobby" checked/>学习<input type="checkbox" name="hobby" />编程</p>
		<script type="text/javascript">
			// console.log($(':input'));
			// console.log($(':checkbox'));
			
			console.log($(':checked'));
		</script>
	</body>
</html>
